import React, { Component } from "react";
import './style.scss';

export interface SwiperItemProps {
  children: any;
  onClick?: Function;
};

export class SwiperItem extends Component<SwiperItemProps> {
  render() {
    const { children, onClick =()=>{} } = this.props;
    return (
      <div className="mkreact-swiper-item" onClick={() => onClick()}>
        { children }
      </div>
    )
  }
}